package com.springapp.service;

import java.util.List;

public interface GenericService<T> {

    public T getById(Integer id);

    public List<T> getAll();

    public void create(T entity);

    public T update(T entity);

    public void delete(Integer id);
}
